package org.jeecg.modules.submissionLibrary.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.submissionLibrary.entity.NumberOfApplicantsEntity;
import org.jeecg.modules.submissionLibrary.entity.SubmissionLibrary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.submissionLibrary.entity.SubmissionLibraryResult;

/**
 * @Description: 投稿库
 * @Author: jeecg-boot
 * @Date:   2020-07-23
 * @Version: V1.0
 */
public interface SubmissionLibraryMapper extends BaseMapper<SubmissionLibrary> {

    /**
     * 投稿库列表分页查询
     * @param submissionLibrary
     * @return
     */
    List<SubmissionLibraryResult> getPage(SubmissionLibrary submissionLibrary);

    /**
     * 获取报名人员列表 分页查询
     * @param id
     * @return
     */
    List<NumberOfApplicantsEntity> getNumberOfApplicants(String id);
}
